home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-13 / mewin10s.zip / MSWMENU.H < prev    next >
Text File  |  1992-04-13  |  6KB  |  192 lines

  1. /* This file provides ID definitions for the menu resource
  2.    used under the Microsoft Windows environment on
  3.    an IBM-PC or compatible computer.
  4.  
  5.    Must be compiled with the Resource Compiler or Borland C++ 2.0
  6.  
  7.    It should not be compiled if the WINDOW_MSWIN symbol is not set */
  8.  
  9. #define IDM_POPUP       0x1000      /* popup level increment */
  10. #define IDM_DYNAMIC     0x0800      /* IDs above that are dynamic entries */
  11. #define IDM_NOTVIEW    0x0400        /* item to be grayed in view mode */
  12.  
  13. #define IDM_NULLPROC    0x03FF
  14.    
  15. /* File */
  16. #define IDM_FILEFIND    0x010
  17. #define IDM_FILE_POPUP  IDM_FILEFIND+IDM_POPUP
  18. #define IDM_VIEWFILE    0x012
  19. #define IDM_INSFILE    0x013+IDM_NOTVIEW
  20. #define IDM_FILEAPP    0x014+IDM_NOTVIEW
  21. #define IDM_FILEREAD    0x015
  22. #define IDM_FILENAME    0x016
  23. #define IDM_FILESAVE    0x017
  24. #define IDM_FILEWRITE    0x018
  25. #define IDM_SETEKEY    0x019
  26. #define IDM_NEXTBUFFER    0x01B
  27. #define IDM_FILE_BUFFER_POPUP IDM_NEXTBUFFER+IDM_POPUP
  28. #define IDM_USEBUFFER    0x01C
  29. #define IDM_UNMARK    0x01D+IDM_NOTVIEW
  30. #define IDM_NAMEBUFFER    0x01E
  31. #define IDM_KILLBUFFER    0x020
  32. #define IDM_NARROW    0x021
  33. #define IDM_WIDEN    0x022
  34. #define IDM_LISTBUFFERS    0x023
  35. #define IDM_SPLITWIND    0x024
  36. #define IDM_FILE_WINDOW_POPUP IDM_SPLITWIND+IDM_POPUP
  37. #define IDM_DELWIND    0x025
  38. #define IDM_ONLYWIND    0x026
  39. #define IDM_NEXTWIND    0x027
  40. #define IDM_PREVWIND    0x028
  41. #define IDM_MVUPWIND    0x029
  42. #define IDM_FILE_WINDOW_SCROLL_POPUP IDM_MVUPWIND+IDM_POPUP
  43. #define IDM_MVDNWIND    0x02A
  44. #define IDM_NEXTUP    0x02B
  45. #define IDM_NEXTDOWN    0x02C
  46. #define IDM_ENLARGEWIND    0x02D
  47. #define IDM_FILE_WINDOW_SIZE_POPUP IDM_ENLARGEWIND+IDM_POPUP
  48. #define IDM_SHRINKWIND    0x02E
  49. #define IDM_RESIZE    0x02F
  50. #define IDM_MODE    0x030
  51. #define IDM_GLOBMODE    0x031
  52. #define IDM_QUICKEXIT    0x032
  53. #define IDM_QUIT    0x033
  54.  
  55. /* Edit */
  56. #define IDM_CUTREGION    0x050+IDM_NOTVIEW
  57. #define IDM_EDIT_CLIPBOARD_POPUP IDM_CUTREGION+IDM_POPUP
  58. #define IDM_EDIT_POPUP  IDM_EDIT_CLIPBOARD_POPUP+IDM_POPUP
  59. #define IDM_CLIPREGION    0x051
  60. #define IDM_INSERTCLIP    0x052+IDM_NOTVIEW
  61. #define IDM_SETMARK    0x053
  62. #define IDM_EDIT_MARK_POPUP IDM_SETMARK+IDM_POPUP
  63. #define IDM_REMMARK    0x054
  64. #define IDM_SWAPMARK    0x055
  65. #define IDM_YANK    0x056+IDM_NOTVIEW
  66. #define IDM_KILLREGION    0x057+IDM_NOTVIEW
  67. #define IDM_EDIT_REGION_POPUP IDM_KILLREGION+IDM_POPUP
  68. #define IDM_COPYREGION    0x058
  69. #define IDM_UPPERREGION    0x059+IDM_NOTVIEW
  70. #define IDM_LOWERREGION    0x05A+IDM_NOTVIEW
  71. #define IDM_ENTAB    0x05B+IDM_NOTVIEW
  72. #define IDM_DETAB    0x05C+IDM_NOTVIEW
  73. #define IDM_TRIM    0x05D+IDM_NOTVIEW
  74. #define IDM_INDENT_REGION 0x05E+IDM_NOTVIEW
  75. #define IDM_UNDENT_REGION 0x05F+IDM_NOTVIEW
  76. #define IDM_WORDCOUNT      0x06B
  77. #define IDM_EDIT_PARAGRAPH_POPUP IDM_KILLPARA+IDM_POPUP
  78. #define IDM_KILLPARA    0x061+IDM_NOTVIEW
  79. #define IDM_FILLPARA    0x060+IDM_NOTVIEW
  80. #define IDM_KILLTEXT    0x062+IDM_NOTVIEW
  81. #define IDM_EDIT_LINE_POPUP IDM_KILLTEXT+IDM_POPUP
  82. #define IDM_OPENLINE    0x063+IDM_NOTVIEW
  83. #define IDM_DELFWORD    0x064+IDM_NOTVIEW
  84. #define IDM_EDIT_WORD_POPUP IDM_DELFWORD+IDM_POPUP
  85. #define IDM_DELBWORD    0x065+IDM_NOTVIEW
  86. #define IDM_CAPWORD    0x066+IDM_NOTVIEW
  87. #define IDM_LOWERWORD    0x067+IDM_NOTVIEW
  88. #define IDM_UPPERWORD    0x068+IDM_NOTVIEW
  89. #define IDM_DEBLANK    0x069+IDM_NOTVIEW
  90. #define IDM_TWIDDLE    0x06A+IDM_NOTVIEW
  91. #define IDM_TAB     0x06C+IDM_NOTVIEW
  92. #define IDM_QUOTE    0x06D+IDM_NOTVIEW
  93. #define IDM_SETFILLCOL    0x06E
  94.  
  95. /* Search */
  96. #define IDM_FORWSEARCH    0x080
  97. #define IDM_SEARCH_POPUP IDM_FORWSEARCH+IDM_POPUP
  98. #define IDM_BACKSEARCH    0x081
  99. #define IDM_FORWHUNT    0x082
  100. #define IDM_BACKHUNT    0x083
  101. #define IDM_FISEARCH    0x084
  102. #define IDM_RISEARCH    0x085
  103. #define IDM_SREPLACE    0x086+IDM_NOTVIEW
  104. #define IDM_QREPLACE    0x087+IDM_NOTVIEW
  105. #define IDM_GOTOMARK    0x088
  106. #define IDM_SEARCH_GOTO_POPUP IDM_GOTOMARK+IDM_POPUP
  107. #define IDM_GOTOLINE    0x089
  108. #define IDM_GETFENCE    0x08A
  109. #define IDM_GOTOBOB    0x08B
  110. #define IDM_GOTOEOB    0x08C
  111. #define IDM_FORWPAGE    0x08D
  112. #define IDM_SEARCH_PAGE_POPUP IDM_FORWPAGE+IDM_POPUP
  113. #define IDM_BACKPAGE    0x08E
  114. #define IDM_GOTOEOP    0x08F
  115. #define IDM_SEARCH_PARAGRAPH_POPUP IDM_GOTOEOP+IDM_POPUP
  116. #define IDM_GOTOBOP    0x090
  117. #define IDM_FORWLINE    0x091
  118. #define IDM_SEARCH_LINE_POPUP IDM_FORWLINE+IDM_POPUP
  119. #define IDM_BACKLINE    0x092
  120. #define IDM_GOTOBOL    0x093
  121. #define IDM_GOTOEOL    0x094
  122. #define IDM_FORWWORD    0x095
  123. #define IDM_SEARCH_WORD_POPUP IDM_FORWWORD+IDM_POPUP
  124. #define IDM_BACKWORD    0x096
  125. #define IDM_ENDWORD    0x097
  126.  
  127. /* Execute */
  128. #define IDM_EXECPRG    0x0B0
  129. #define IDM_EXECUTE_POPUP IDM_EXECPRG+IDM_POPUP
  130. #define IDM_SPAWNCLI    0x0B1
  131. #define IDM_SPAWN    0x0B2
  132. #define IDM_PIPECMD    0x0B3
  133. #define IDM_FILTER    0x0B4+IDM_NOTVIEW
  134. #define IDM_CTLXE    0x0B5
  135. #define IDM_EXECUTE_KEYBOARD_POPUP IDM_CTLXE+IDM_POPUP
  136. #define IDM_CTLXLP    0x0B6
  137. #define IDM_CTLXRP    0x0B7
  138. #define IDM_NAMEDCMD    0x0B8
  139. #define IDM_EXECUTE_RUN_POPUP IDM_NAMEDCMD+IDM_POPUP
  140. #define IDM_EXECCMD    0x0B9
  141. #define IDM_EXECPROC    0x0BA
  142. #define IDM_EXECBUF    0x0BB
  143. #define IDM_EXECFILE    0x0BC
  144. #define IDM_CTRLG       0x0BD
  145.  
  146. /* Miscellaneous */
  147. #define IDM_BINDTOKEY    0x0D0
  148. #define IDM_MISC_BINDTOKEY_POPUP IDM_BINDTOKEY+IDM_POPUP
  149. #define IDM_MISC_POPUP    IDM_MISC_BINDTOKEY_POPUP+IDM_POPUP
  150. #define IDM_UNBINDKEY    0x0D2
  151. #define IDM_DESKEY    0x0D3
  152. #define IDM_MISC_MACROTOKEY_POPUP IDM_MACROTOKEY+IDM_POPUP
  153. #define IDM_MACROTOKEY    0x0D1
  154. #define IDM_BINDTOMENU    0x0C0
  155. #define IDM_MACROTOMENU    0x0C1
  156. #define IDM_UNBINDMENU  0x0C2
  157. #define IDM_SETVAR    0x0D4
  158. #define IDM_MISC_VARIABLE_POPUP IDM_SETVAR+IDM_POPUP
  159. #define IDM_DISPVAR    0x0D5
  160. #define IDM_DESVARS    0x0D6
  161. #define IDM_SHOWCPOS    0x0DA
  162.  
  163. /* Screen */
  164. #define IDM_CASCADE    0x110
  165. #define IDM_SCREEN_POPUP IDM_CASCADE+IDM_POPUP
  166. #define IDM_TILE    0x111
  167. #define IDM_ARRANGEICONS 0x112
  168. #define IDM_FIND_SCREEN    0x100
  169. #define IDM_RENAMESCREEN 0x105
  170. #define IDM_NEWSIZE    0x101
  171. #define IDM_SCREEN_SIZE_POPUP IDM_NEWSIZE+IDM_POPUP
  172. #define IDM_NEWWIDTH    0x102
  173. #define IDM_NORMALIZE   0x103
  174. #define IDM_FONT    0x104
  175.  
  176. /* Help */
  177. #define IDM_WHELPINDEX    0x120
  178. #define IDM_HELP_POPUP    IDM_WHELPINDEX+IDM_POPUP
  179. #define IDM_WHELPKEYBOARD 0x121
  180. #define IDM_WHELPCOMMANDS 0x122
  181. #define IDM_WHELPPROCEDURES 0x123
  182. #define IDM_DESBIND    0x125
  183. #define IDM_HELP_LIST_POPUP IDM_DESBIND+IDM_POPUP
  184. #define IDM_DESFUNC    0x126
  185. /* define IDM_DESVARS    already done above */
  186. #define IDM_APRO    0x127
  187. #define IDM_ABOUT    0x128
  188.  
  189. #if 0   /* put a 1 here to enable the "Break to debugger" menu item */
  190. #define IDM_DEBUG       0x200
  191. #endif
  192.